package org.zephyr.fastboot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zephyr.fastboot.entity.SysUser;
import org.zephyr.fastboot.mapper.SysUserMapper;
import org.zephyr.fastboot.service.SysUserService;

import java.util.List;

/**
 * @Author: ZephyrGao
 * @Date: 2024/7/9 17:21
 * @Description:
 */

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private  SysUserMapper sysUserMapper;
    @Override
    public List<SysUser> getAllUsers() {
        return null;
    }

    @Override
    public SysUser getUserById(Long id) {
        return null;
    }

    public SysUser getUserByName(String name){
        return sysUserMapper.getUserByName(name);
    }

    @Override
    public void saveUser(SysUser user) {

    }

    @Override
    public void updateUser(SysUser user) {

    }

    @Override
    public void deleteUser(Long id) {

    }
}
